<?php

use think\facade\Route;

//店铺导购管理
Route::group('shop_salesman', function () {
    Route::get('/page', 'merchants/shop_salesman/salesman_page');
    Route::get('/list', 'merchants/shop_salesman/salesman_list');
    Route::post('/save_status', 'merchants/shop_salesman/salesman_save_status');
    Route::post('/save', 'merchants/shop_salesman/salesman_save');
    Route::post('/save_point', 'merchants/shop_salesman/salesman_save_point');
    Route::get('/info', 'merchants/shop_salesman/salesman_info');
    Route::post('/eliminate_wx_info', 'merchants/shop_salesman/salesman_eliminate_wx_info');
    Route::post('/eliminate_wx_address', 'merchants/shop_salesman/salesman_eliminate_wx_address');
    Route::post('/recheck', 'merchants/shop_salesman/recheck');

});
Route::group('shop', function () {
    Route::get('page', 'page');                                    //门店列表 分页
    Route::get('list', 'list');                                    //门店列表 不分页
    Route::post('save', 'save');                                   //门店编辑
    Route::get('info', 'info');                                    //门店详情
    Route::post('del', 'del');                                     //门店删除
    Route::post('save_status', 'save_status');                     //门店修改状态
})->prefix('shop/');

Route::group('tags', function () {
    Route::get('page', 'tags_page');                             //门店标签列表 分页
    Route::get('list', 'tags_list');                             //门店标签列表 不分页
    Route::post('save', 'tags_save');                            //门店标签编辑
    Route::get('info', 'tags_info');                             //门店标签详情
    Route::post('del', 'tags_del');                              //门店标签删除
    Route::post('bind', 'tags_bind');                            //标签绑定门店
})->prefix('shop/');
